# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        博智科技  
# Name:         h02
# Description:
# Author:       yzl
# Date:         2019-04-07
#-------------------------------------------------------------------------------


import re
n=input('请输入信用卡号：')
s='\d{4}-\d{4}-\d{4}-\d{4}'
m=re.search(s,n)
if m is not None:
    print('{}匹配成功'.format(m.group()))
else:
    print('{}不匹配'.format(n))
